<template>
  <div id="app">
    <keep-alive>
      <router-view
        v-if="$route.meta.keepAlive"
        v-transition
      ></router-view>
    </keep-alive>
    <router-view
      v-if="!$route.meta.keepAlive"
      v-transition
    ></router-view>
  </div>
</template>

<style>
#app > div {
  min-height: 100vh;
  background-color: #f2f4f5;
}
</style>
